//
//  NSString+NBL.h
//  NBLiOSTools
//
//  Created by GangX-yangjh on 2021/12/5.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (NBL)

+ (NSString *)format:(NSInteger)integer;

- (void)call;
- (void)openSafari;
- (void)openAppStore;
- (void)rate;

- (UIColor *)color;

- (NSDate *)date;
- (NSDate *)dateWithFormat:(NSString *)format;

- (CGFloat)pixelWidthWithFont:(UIFont *)font;
- (CGFloat)pixelHeightWithFont:(UIFont *)font andMaxWidth:(CGFloat)maxWidth;

@end

NS_ASSUME_NONNULL_END
